Square\Models\LoyaltyProgramAccrualRule S

Total Complexity 21
Dependencies 6
Dependents 1
Total lines 199
Lines of code 62
Logical lines of code 29
Comment lines 94
Methods 14
Properties 6

Methods 14

Method Rating Maintainability Complexity Lines of code
jsonSerialize()
A
53 8 23
__construct()
S
81 1 3
getAccrualType()
S
82 1 3
setAccrualType()
S
81 1 3
getPoints()
S
82 1 3
setPoints()
S
81 1 3
getVisitData()
S
82 1 3
setVisitData()
S
81 1 3
getSpendData()
S
82 1 3
setSpendData()
S
81 1 3
getItemVariationData()
S
82 1 3
setItemVariationData()
S
81 1 3
getCategoryData()
S
82 1 3
setCategoryData()
S
81 1 3